[INFO] cloning repository https://github.com/sozilum/trading_bot_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sozilum/trading_bot_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozilum%2Ftrading_bot_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozilum%2Ftrading_bot_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fddb7f7c445a1e67dd2ef94c5e4496ecb4d32fe3
[INFO] testing sozilum/trading_bot_rust against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozilum%2Ftrading_bot_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sozilum/trading_bot_rust
[INFO] finished tweaking git repo https://github.com/sozilum/trading_bot_rust
[INFO] tweaked toml for git repo https://github.com/sozilum/trading_bot_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sozilum/trading_bot_rust on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sozilum/trading_bot_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.serde.featured
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd67efd8d4c8179e597d55822eace51cfd50b19e6f4c48b85c63dce3b9f6b482
[INFO] running `Command { std: "docker" "start" "-a" "dd67efd8d4c8179e597d55822eace51cfd50b19e6f4c48b85c63dce3b9f6b482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd67efd8d4c8179e597d55822eace51cfd50b19e6f4c48b85c63dce3b9f6b482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd67efd8d4c8179e597d55822eace51cfd50b19e6f4c48b85c63dce3b9f6b482", kill_on_drop: false }`
[INFO] [stdout] dd67efd8d4c8179e597d55822eace51cfd50b19e6f4c48b85c63dce3b9f6b482
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6038c4bfcaeb0bd88040b8f03c049668fef4ff6bee7067926310b6fb7342f9f
[INFO] running `Command { std: "docker" "start" "-a" "e6038c4bfcaeb0bd88040b8f03c049668fef4ff6bee7067926310b6fb7342f9f", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.serde.featured
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling trading_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `?`, `{`, or an operator, found `key`
[INFO] [stdout]   --> src/typical_tasks.rs:59:56
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 .arg(format!("X-MBX-APIKEY: {}", &self key.publick_key))
[INFO] [stdout]    |                                                        ^^^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::typical_tasks::TypicalErrors`, `crate::typical_tasks::Key`, `crate::typical_tasks::Querys`
[INFO] [stdout]   --> src/urls.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         TypicalErrors::{
[INFO] [stdout]    |         ^^^^^^^^^^^^^ could not find `TypicalErrors` in `typical_tasks`
[INFO] [stdout] ...
[INFO] [stdout] 18 |         Key::{
[INFO] [stdout]    |         ^^^ could not find `Key` in `typical_tasks`
[INFO] [stdout] ...
[INFO] [stdout] 23 |         Querys::{
[INFO] [stdout]    |         ^^^^^^ could not find `Querys` in `typical_tasks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/utils.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[serde(default = "publick_key")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/utils.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[serde(default = "secret_key")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/utils.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/utils.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Deserialize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/utils.rs:47:58
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]
[INFO] [stdout]    |                                                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/utils.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  6 |     Serialize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/utils.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[serde(rename_all = "SCREAMING_SNAKE_CASE")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/utils.rs:58:7
[INFO] [stdout]    |
[INFO] [stdout] 58 |     #[serde(other)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/utils.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |     #[serde(default = "default_order_list_id")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `SecretKeys`
[INFO] [stdout]   --> src/utils.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | / pub struct SecretKeys{
[INFO] [stdout] 11 | |
[INFO] [stdout] 12 | |     #[serde(default = "publick_key")]
[INFO] [stdout] 13 | |     publick_key: String,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |     secret_key: String,
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- `SecretKeys` defined here
[INFO] [stdout] ...
[INFO] [stdout] 32 |           let key = SecretKeys;
[INFO] [stdout]    |                     ^^^^^^^^^^ help: use struct literal syntax instead: `SecretKeys {/* fields */}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret_key` in this scope
[INFO] [stdout]   --> src/typical_tasks.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let key = SecretKeys::create_signature(&secret_key, /* &std::string::String */);
[INFO] [stdout]    |                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: function `crate::utils::secret_key` exists but is inaccessible
[INFO] [stdout]   --> src/utils.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn secret_key() -> String {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/typical_tasks.rs:50:59
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let signature = SecretKeys::create_signature(&key.secret_key, &query);
[INFO] [stdout]    |                                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `query` in this scope
[INFO] [stdout]   --> src/typical_tasks.rs:50:76
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let signature = SecretKeys::create_signature(&key.secret_key, &query);
[INFO] [stdout]    |                                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `process::Command`
[INFO] [stdout]  --> src/urls.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         process::Command, 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono`
[INFO] [stdout]  --> src/urls.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use chrono;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NewOrder` and `SecretKeys`
[INFO] [stdout]   --> src/urls.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         SecretKeys,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 11 |         NewOrder,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde`
[INFO] [stdout]   --> src/urls.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use serde;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `de::Error as DeErro` and `ser::Error as SeError`
[INFO] [stdout]   --> src/typical_tasks.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         de::Error as DeErro,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |         ser::Error as SeError,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `about_wallet`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     about_wallet,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/urls.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn about_wallet() -> Result<(), Box<dyn Error>>{
[INFO] [stdout]    |            ------------      ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/urls.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn check_orders() -> Result<(), Box<dyn Error>>{
[INFO] [stdout]    |            ------------      ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Othre` found for enum `ErrorKind` in the current scope
[INFO] [stdout]   --> src/typical_tasks.rs:27:74
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     Err(Box::new(std::io::Error::new(std::io::ErrorKind::Othre, error_msg)))
[INFO] [stdout]    |                                                                          ^^^^^ variant or associated item not found in `ErrorKind`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 -                     Err(Box::new(std::io::Error::new(std::io::ErrorKind::Othre, error_msg)))
[INFO] [stdout] 27 +                     Err(Box::new(std::io::Error::new(std::io::ErrorKind::Other, error_msg)))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/typical_tasks.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     Err(Box::new(std::io::Error::new(std::io::ErrorKind::Othre, error_msg)))
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Utf8Error`, found `Error`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:284:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/typical_tasks.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let key = SecretKeys::create_signature(&secret_key, /* &std::string::String */);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- argument #2 of type `&String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/utils.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn create_signature(&self, data: &String) -> String{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^        -------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 39 -             let key = SecretKeys::create_signature(&secret_key, /* &std::string::String */);
[INFO] [stdout] 39 +             let key = SecretKeys::create_signature(&secret_key, /* &String */);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/utils.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sha2::{Sha256, Digest};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0423, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trading_bot` (bin "trading_bot") due to 18 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e6038c4bfcaeb0bd88040b8f03c049668fef4ff6bee7067926310b6fb7342f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6038c4bfcaeb0bd88040b8f03c049668fef4ff6bee7067926310b6fb7342f9f", kill_on_drop: false }`
[INFO] [stdout] e6038c4bfcaeb0bd88040b8f03c049668fef4ff6bee7067926310b6fb7342f9f
